'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/getUser', controller.home.index);
  router.post('/login', controller.home.login); // 不走
  router.put('/updateuser', controller.home.updateuser);
  router.post('/uploadimage', controller.home.uploadimage);
};
